﻿@model List<WebUI.Models.Tables.Product>
<div class="productList">
    @foreach (var item in Model)
    {
        <div class="product">
            <div class="img"><a href="@item.ID"><img src="@item.MainImage" /></a></div>
            <div class="name"><a href="@item.ID">@item.ProductName</a></div>
            <div class="abs">@item.Description</div>
            <div class="price">@item.Price</div>
            <div class="btn"><a href="@item.ID">查看</a></div>
        </div>
    }
</div>
<div class="pager">
    总计 @ViewBag.TotalCount 个记录,共 @ViewBag.TotalPage 页,当前第 @Request.QueryString["page"] 页
</div>